package com.hqj.study.service.impl;

import com.github.pagehelper.PageInfo;
import com.hqj.study.dao.AccountDao;
import com.hqj.study.pojo.Account;
import com.hqj.study.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yd
 * @version 1.0
 * @date 2020/3/28 0028 黄啟军
 */
@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    AccountDao accountDao;
    @Override
    public PageInfo<Account> findPage(Account account, int page, int size) {
        return null;
    }

    @Override
    public PageInfo<Account> findPage(int page, int size) {
        return null;
    }

    @Override
    public List<Account> findList(Account account) {
        return null;
    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void update(Account account) {

    }

    @Override
    public void add(Account account) {

    }

    @Override
    public Account findById(Integer id) {
        return null;
    }

    @Override
    public List<Account> findAll() {
        return accountDao.selectAll();
    }
}
